/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package pruebas;

import edu.ucuenca.ec.amazonnosqlfinal.test2.cluster.*;
import org.neo4j.graphdb.GraphDatabaseService;
import org.neo4j.graphdb.factory.GraphDatabaseBuilder;
import org.neo4j.graphdb.factory.HighlyAvailableGraphDatabaseFactory;

/**
 *
 * @author pablo
 */
public class Conection {

    public static void conectar() {
        GraphDatabaseBuilder builder = new HighlyAvailableGraphDatabaseFactory()
                .newHighlyAvailableDatabaseBuilder("http://192.168.1.101:7474/db/data/");
        GraphDatabaseService db = builder.loadPropertiesFromURL(null)
                .newGraphDatabase();

    }
    public static void main(String[] args) throws InterruptedException {
		conectar();
	}
}
